package com.erp.erp_project.service.impl;

import com.erp.erp_project.mapper.SubmenuMapper;
import com.erp.erp_project.model.Submenu;
import com.erp.erp_project.service.SubmenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * @author yh
 */
@Service
public class SubmenuServiceImpl extends BaseServiceImpl<Submenu, SubmenuMapper> implements SubmenuService {
    public SubmenuServiceImpl(SubmenuMapper mapper) {
        super(mapper);
    }

    @Autowired
    private SubmenuMapper submenuMapper;

    @Override
    public  List<Submenu> selectnames(Set names){
        return submenuMapper.selectnames(names);
    }

}
